package com.hl.springcloud.dao;

import com.hl.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {
	
	public boolean addDept(Dept dept);//添加一个部门
	
	public Dept queryById(Long id);//查询部门信息
	
	public List<Dept> queryAll();//查询所有部门信息
	
}
